package com.hmxx.myblogproject.service.impl;

import com.hmxx.myblogproject.entity.MyBlogTags;
import com.hmxx.myblogproject.mapper.MyBlogTagsMapper;
import com.hmxx.myblogproject.service.MyBlogTagsService;
import com.hmxx.myblogproject.util.ResponseUtil;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description:
 * @Author: {27106}
 * @Date: {2021/11/19 16:26}
 */
@Service
public class MyBlogTagsServiceImpl implements MyBlogTagsService {
    @Resource
    private MyBlogTagsMapper mapper;

    @Override
    public Object getTags() {
        List<MyBlogTags> myBlogTags=mapper.getTags();
        return ResponseUtil.okList(myBlogTags);
    }
}
